# $NetBSD: Makefile,v 1.2 2012/10/03 09:10:38 asau Exp $
#

LICENSE=		gnu-gpl-v2 AND gnu-lgpl-v2

LIBGDA_PROVIDER=	bdb

.include "../../databases/libgda/Makefile.common"

BDB_ACCEPTED=	db4

SUBST_CLASSES+=		bdb
SUBST_STAGE.bdb=	post-patch
SUBST_FILES.bdb=	providers/bdb/Makefile.in
SUBST_VARS.bdb=		BDB_LIBS
SUBST_MESSAGE.bdb=	Fixing bdb.

CONFIGURE_ARGS+=	--with-bdb=${PREFIX}

.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
